﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dbDataSet" targetNamespace="http://tempuri.org/dbDataSet.xsd" xmlns:mstns="http://tempuri.org/dbDataSet.xsd" xmlns="http://tempuri.org/dbDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="fireDepartmentConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="fireDepartmentConnection (Settings)" PropertyReference="ApplicationSettings.be.brandweernijlen.adembescherming.adembescherming.Properties.Settings.GlobalReference.Default.fireDepartmentConnection" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TBL_PERSONTableAdapter" GeneratorDataComponentClassName="TBL_PERSONTableAdapter" Name="TBL_PERSON" UserDataComponentName="TBL_PERSONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectName="TBL_PERSON" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `TBL_PERSON` WHERE (((? = 1 AND `FULLNAME` IS NULL) OR (`FULLNAME` = ?)) AND (`Id` = ?))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FULLNAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_FULLNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `TBL_PERSON` (`FULLNAME`) VALUES (?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="FULLNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT FULLNAME, Id FROM TBL_PERSON</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `TBL_PERSON` SET `FULLNAME` = ? WHERE (((? = 1 AND `FULLNAME` IS NULL) OR (`FULLNAME` = ?)) AND (`Id` = ?))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="FULLNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FULLNAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_FULLNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="FULLNAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FULLNAME" DataSetColumn="FULLNAME" />
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TBL_ABDOCTableAdapter" GeneratorDataComponentClassName="TBL_ABDOCTableAdapter" Name="TBL_ABDOC" UserDataComponentName="TBL_ABDOCTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectName="TBL_ABDOC" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `TBL_ABDOC` WHERE ((`Id` = ?) AND ((? = 1 AND `DOCNAME` IS NULL) OR (`DOCNAME` = ?)) AND ((? = 1 AND `FINAL` IS NULL) OR (`FINAL` = ?)) AND ((? = 1 AND `CREATIONDATE` IS NULL) OR (`CREATIONDATE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DOCNAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_DOCNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FINAL" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="Original_FINAL" Precision="0" ProviderType="Boolean" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CREATIONDATE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_CREATIONDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `TBL_ABDOC` (`DOCNAME`, `FINAL`, `CREATIONDATE`) VALUES (?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="DOCNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="FINAL" Precision="0" ProviderType="Boolean" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="CREATIONDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TBL_ABDOC.*
FROM            TBL_ABDOC</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `TBL_ABDOC` SET `DOCNAME` = ?, `FINAL` = ?, `CREATIONDATE` = ? WHERE ((`Id` = ?) AND ((? = 1 AND `DOCNAME` IS NULL) OR (`DOCNAME` = ?)) AND ((? = 1 AND `FINAL` IS NULL) OR (`FINAL` = ?)) AND ((? = 1 AND `CREATIONDATE` IS NULL) OR (`CREATIONDATE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="DOCNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="FINAL" Precision="0" ProviderType="Boolean" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="CREATIONDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_DOCNAME" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_DOCNAME" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="DOCNAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_FINAL" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="Original_FINAL" Precision="0" ProviderType="Boolean" Scale="0" Size="0" SourceColumn="FINAL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CREATIONDATE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_CREATIONDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CREATIONDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="DOCNAME" DataSetColumn="DOCNAME" />
              <Mapping SourceColumn="FINAL" DataSetColumn="FINAL" />
              <Mapping SourceColumn="CREATIONDATE" DataSetColumn="CREATIONDATE" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectName="TBL_ABDOC" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="getLastId" Modifier="Public" Name="getLastId" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="getLastId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT TOP 1 Id
FROM TBL_ABDOC
ORDER BY Id DESC</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TBL_ABDOCSTATUSTableAdapter" GeneratorDataComponentClassName="TBL_ABDOCSTATUSTableAdapter" Name="TBL_ABDOCSTATUS" UserDataComponentName="TBL_ABDOCSTATUSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectName="TBL_ABDOCSTATUS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `TBL_ABDOCSTATUS` WHERE ((`Id` = ?) AND ((? = 1 AND `CHANGEDATE` IS NULL) OR (`CHANGEDATE` = ?)) AND ((? = 1 AND `RESPONSIBLE` IS NULL) OR (`RESPONSIBLE` = ?)) AND ((? = 1 AND `ABDOC` IS NULL) OR (`ABDOC` = ?)) AND ((? = 1 AND `NUMBER` IS NULL) OR (`NUMBER` = ?)) AND ((? = 1 AND `PRESSURE` IS NULL) OR (`PRESSURE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CHANGEDATE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_CHANGEDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `TBL_ABDOCSTATUS` (`CHANGEDATE`, `RESPONSIBLE`, `ABDOC`, `NUMBER`, `PRESSURE`) VALUES (?, ?, ?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="CHANGEDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT        Id, CHANGEDATE, RESPONSIBLE, ABDOC, [NUMBER], PRESSURE
FROM            TBL_ABDOCSTATUS</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `TBL_ABDOCSTATUS` SET `CHANGEDATE` = ?, `RESPONSIBLE` = ?, `ABDOC` = ?, `NUMBER` = ?, `PRESSURE` = ? WHERE ((`Id` = ?) AND ((? = 1 AND `CHANGEDATE` IS NULL) OR (`CHANGEDATE` = ?)) AND ((? = 1 AND `RESPONSIBLE` IS NULL) OR (`RESPONSIBLE` = ?)) AND ((? = 1 AND `ABDOC` IS NULL) OR (`ABDOC` = ?)) AND ((? = 1 AND `NUMBER` IS NULL) OR (`NUMBER` = ?)) AND ((? = 1 AND `PRESSURE` IS NULL) OR (`PRESSURE` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="CHANGEDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_Id" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Id" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_CHANGEDATE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="Original_CHANGEDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="CHANGEDATE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_RESPONSIBLE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="RESPONSIBLE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_PRESSURE" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="PRESSURE" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Id" DataSetColumn="Id" />
              <Mapping SourceColumn="CHANGEDATE" DataSetColumn="CHANGEDATE" />
              <Mapping SourceColumn="RESPONSIBLE" DataSetColumn="RESPONSIBLE" />
              <Mapping SourceColumn="ABDOC" DataSetColumn="ABDOC" />
              <Mapping SourceColumn="NUMBER" DataSetColumn="NUMBER" />
              <Mapping SourceColumn="PRESSURE" DataSetColumn="PRESSURE" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectType="Unknown" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByAbDoc" GetMethodModifier="Public" GetMethodName="GetDataByAbDoc" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByAbDoc" UserSourceName="GetDataByAbDoc">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TBL_ABDOCSTATUS.[NUMBER], TBL_ABDOCSTATUS.CHANGEDATE, TBL_ABDOCSTATUS.PRESSURE, TBL_PERSON.FULLNAME
FROM            (TBL_ABDOCSTATUS INNER JOIN
                         TBL_PERSON ON TBL_ABDOCSTATUS.RESPONSIBLE = TBL_PERSON.Id)
WHERE        (TBL_ABDOCSTATUS.ABDOC = ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Param1" ColumnName="ABDOC" DataSourceName="TBL_ABDOCSTATUS" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="ABDOC" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ABDOC" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="fireDepartmentConnection (Settings)" DbObjectType="Unknown" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByBottles" GetMethodModifier="Public" GetMethodName="GetDataByBottles" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByBottles" UserSourceName="GetDataByBottles">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        TBL_ABDOCSTATUS.[NUMBER], TBL_ABDOCSTATUS.CHANGEDATE, TBL_ABDOCSTATUS.PRESSURE, TBL_PERSON.FULLNAME
FROM            (TBL_ABDOCSTATUS INNER JOIN
                         TBL_PERSON ON TBL_ABDOCSTATUS.RESPONSIBLE = TBL_PERSON.Id)
WHERE        (TBL_ABDOCSTATUS.[NUMBER] = ?)
ORDER BY TBL_ABDOCSTATUS.CHANGEDATE</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="Param1" ColumnName="NUMBER" DataSourceName="TBL_ABDOCSTATUS" DataTypeServer="DbType.Int32" DbType="Int32" Direction="Input" ParameterName="NUMBER" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dbDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="dbDataSet" msprop:Generator_UserDSName="dbDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="TBL_PERSON" msprop:Generator_TableClassName="TBL_PERSONDataTable" msprop:Generator_TableVarName="tableTBL_PERSON" msprop:Generator_TablePropName="TBL_PERSON" msprop:Generator_RowDeletingName="TBL_PERSONRowDeleting" msprop:Generator_UserTableName="TBL_PERSON" msprop:Generator_RowChangingName="TBL_PERSONRowChanging" msprop:Generator_RowEvHandlerName="TBL_PERSONRowChangeEventHandler" msprop:Generator_RowDeletedName="TBL_PERSONRowDeleted" msprop:Generator_RowEvArgName="TBL_PERSONRowChangeEvent" msprop:Generator_RowChangedName="TBL_PERSONRowChanged" msprop:Generator_RowClassName="TBL_PERSONRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FULLNAME" msprop:Generator_ColumnVarNameInTable="columnFULLNAME" msprop:Generator_ColumnPropNameInRow="FULLNAME" msprop:Generator_ColumnPropNameInTable="FULLNAMEColumn" msprop:Generator_UserColumnName="FULLNAME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TBL_ABDOC" msprop:Generator_TableClassName="TBL_ABDOCDataTable" msprop:Generator_TableVarName="tableTBL_ABDOC" msprop:Generator_TablePropName="TBL_ABDOC" msprop:Generator_RowDeletingName="TBL_ABDOCRowDeleting" msprop:Generator_UserTableName="TBL_ABDOC" msprop:Generator_RowChangingName="TBL_ABDOCRowChanging" msprop:Generator_RowEvHandlerName="TBL_ABDOCRowChangeEventHandler" msprop:Generator_RowDeletedName="TBL_ABDOCRowDeleted" msprop:Generator_RowEvArgName="TBL_ABDOCRowChangeEvent" msprop:Generator_RowChangedName="TBL_ABDOCRowChanged" msprop:Generator_RowClassName="TBL_ABDOCRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="DOCNAME" msprop:Generator_ColumnVarNameInTable="columnDOCNAME" msprop:Generator_ColumnPropNameInRow="DOCNAME" msprop:Generator_ColumnPropNameInTable="DOCNAMEColumn" msprop:Generator_UserColumnName="DOCNAME" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FINAL" msprop:Generator_ColumnVarNameInTable="columnFINAL" msprop:Generator_ColumnPropNameInRow="FINAL" msprop:Generator_ColumnPropNameInTable="FINALColumn" msprop:Generator_UserColumnName="FINAL" type="xs:boolean" minOccurs="0" />
              <xs:element name="CREATIONDATE" msprop:Generator_ColumnVarNameInTable="columnCREATIONDATE" msprop:Generator_ColumnPropNameInRow="CREATIONDATE" msprop:Generator_ColumnPropNameInTable="CREATIONDATEColumn" msprop:Generator_UserColumnName="CREATIONDATE" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TBL_ABDOCSTATUS" msprop:Generator_TableClassName="TBL_ABDOCSTATUSDataTable" msprop:Generator_TableVarName="tableTBL_ABDOCSTATUS" msprop:Generator_TablePropName="TBL_ABDOCSTATUS" msprop:Generator_RowDeletingName="TBL_ABDOCSTATUSRowDeleting" msprop:Generator_UserTableName="TBL_ABDOCSTATUS" msprop:Generator_RowChangingName="TBL_ABDOCSTATUSRowChanging" msprop:Generator_RowEvHandlerName="TBL_ABDOCSTATUSRowChangeEventHandler" msprop:Generator_RowDeletedName="TBL_ABDOCSTATUSRowDeleted" msprop:Generator_RowEvArgName="TBL_ABDOCSTATUSRowChangeEvent" msprop:Generator_RowChangedName="TBL_ABDOCSTATUSRowChanged" msprop:Generator_RowClassName="TBL_ABDOCSTATUSRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnId" msprop:Generator_ColumnPropNameInRow="Id" msprop:Generator_ColumnPropNameInTable="IdColumn" msprop:Generator_UserColumnName="Id" type="xs:int" />
              <xs:element name="CHANGEDATE" msprop:Generator_ColumnVarNameInTable="columnCHANGEDATE" msprop:Generator_ColumnPropNameInRow="CHANGEDATE" msprop:Generator_ColumnPropNameInTable="CHANGEDATEColumn" msprop:Generator_UserColumnName="CHANGEDATE" type="xs:dateTime" minOccurs="0" />
              <xs:element name="PRESSURE" msprop:Generator_ColumnVarNameInTable="columnPRESSURE" msprop:Generator_ColumnPropNameInRow="PRESSURE" msprop:Generator_ColumnPropNameInTable="PRESSUREColumn" msprop:Generator_UserColumnName="PRESSURE" type="xs:int" minOccurs="0" />
              <xs:element name="RESPONSIBLE" msprop:Generator_ColumnVarNameInTable="columnRESPONSIBLE" msprop:Generator_ColumnPropNameInRow="RESPONSIBLE" msprop:Generator_ColumnPropNameInTable="RESPONSIBLEColumn" msprop:Generator_UserColumnName="RESPONSIBLE" type="xs:int" minOccurs="0" />
              <xs:element name="ABDOC" msprop:Generator_ColumnVarNameInTable="columnABDOC" msprop:Generator_ColumnPropNameInRow="ABDOC" msprop:Generator_ColumnPropNameInTable="ABDOCColumn" msprop:Generator_UserColumnName="ABDOC" type="xs:int" minOccurs="0" />
              <xs:element name="NUMBER" msprop:Generator_ColumnVarNameInTable="columnNUMBER" msprop:Generator_ColumnPropNameInRow="NUMBER" msprop:Generator_ColumnPropNameInTable="NUMBERColumn" msprop:Generator_UserColumnName="NUMBER" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TBL_PERSON" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="TBL_ABDOC_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TBL_ABDOC" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
    <xs:unique name="TBL_ABDOCSTATUS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TBL_ABDOCSTATUS" />
      <xs:field xpath="mstns:Id" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="TBL_ABDOCTBL_ABDOCSTATUS" msdata:parent="TBL_ABDOC" msdata:child="TBL_ABDOCSTATUS" msdata:parentkey="Id" msdata:childkey="ABDOC" msprop:Generator_UserChildTable="TBL_ABDOCSTATUS" msprop:Generator_ChildPropName="GetTBL_ABDOCSTATUSRows" msprop:Generator_ParentPropName="TBL_ABDOCRow" msprop:Generator_UserRelationName="TBL_ABDOCTBL_ABDOCSTATUS" msprop:Generator_RelationVarName="relationTBL_ABDOCTBL_ABDOCSTATUS" msprop:Generator_UserParentTable="TBL_ABDOC" />
      <msdata:Relationship name="TBL_PERSONTBL_ABDOCSTATUS" msdata:parent="TBL_PERSON" msdata:child="TBL_ABDOCSTATUS" msdata:parentkey="Id" msdata:childkey="RESPONSIBLE" msprop:Generator_UserChildTable="TBL_ABDOCSTATUS" msprop:Generator_ChildPropName="GetTBL_ABDOCSTATUSRows" msprop:Generator_ParentPropName="TBL_PERSONRow" msprop:Generator_UserRelationName="TBL_PERSONTBL_ABDOCSTATUS" msprop:Generator_RelationVarName="relationTBL_PERSONTBL_ABDOCSTATUS" msprop:Generator_UserParentTable="TBL_PERSON" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>